<template>
  <el-container>
    <el-header>
      <h1>学生后台管理系统</h1>
    </el-header>
    <el-container>
      <el-aside width="200px">
        <el-menu default-active="1" class="el-menu-vertical-demo">
          <el-menu-item index="1">
            <i class="el-icon-menu"></i>
            <router-link to="/student">学生列表</router-link>
          </el-menu-item>
          <el-menu-item index="2">
            <i class="el-icon-document"></i>
            <router-link to="/course">课程管理</router-link>
          </el-menu-item>
        </el-menu>
      </el-aside>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>

</template>

<script>
export default {
  name: "IndexView"
}
</script>

<style scoped>
.el-header {
  background-color: #409EFF;
  color: white;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #eef1f6;
}

.el-main {
  background-color: #fff;
}

</style>